package com.rfsp.common.mapper;

import org.apache.ibatis.annotations.Select;

import com.rfsp.common.base.BaseMapper;
import com.rfsp.common.pojo.po.ParamPO;
import org.springframework.stereotype.Repository;

@Repository
public interface ParamMapper extends BaseMapper<ParamPO> {

	@Select("select pa.PARA_VALUE from m_dd_para pa where pa.para_code=#{key}")
	//String getValue(@Param("key") String key);
	String getValue(String key);
	
	@Select("select * from m_dd_para pa where pa.para_code=#{key}")
	//Param get(@Param("key") String key);
	ParamPO get(String key);

}